/* @Copyright (C) 2007 John Stowers, Neil Jagdish Patel.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA  02111-1307, USA.
 */


#ifndef _BLING_WINDOW_H_
#define _BLING_WINDOW_H_

#include <gtk/gtkwindow.h>

typedef struct _BlingWindow      BlingWindow;
typedef struct _BlingWindowClass BlingWindowClass;
typedef struct _BlingWindowPrivate  BlingWindowPrivate;

#define BLING_TYPE_WINDOW            (bling_window_get_type())
#define BLING_WINDOW(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), BLING_TYPE_WINDOW, BlingWindow))
#define BLING_WINDOW_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), BLING_TYPE_WINDOW, BlingWindowClass))
#define BLING_IS_WINDOW(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), BLING_TYPE_WINDOW))
#define BLING_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), BLING_TYPE_WINDOW))
#define BLING_WINDOW_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), BLING_TYPE_WINDOW, BlingWindowClass))

struct _BlingWindow
{
	GtkWindow parent;
};

struct _BlingWindowClass
{
	GtkWindowClass parent_class;
	
	BlingWindowPrivate *priv;
};

G_BEGIN_DECLS

GType      bling_window_get_type(void);
GtkWidget *bling_window_new(void);
GtkWidget *bling_window_new_with_label(const gchar *text);
void       bling_window_position_to_widget(BlingWindow *tooltip, GtkWidget *widget);
void       bling_window_position_to_rect(BlingWindow *tooltip, GdkRectangle *rect, GdkScreen *screen);

G_END_DECLS

#endif /* _BLING_WINDOW_H_ */
 
 
